package com.compass.framework.constant

/**
 * @desc   常量管理
 */

//const val BASE_URL ="https://controller.zhaoxuezhou.com"//测试地址学舟
const val BASE_URL ="https://qh.ftsofts.com/"//医院正式地址
//const val BASE_URL ="https://ims.hzjrsw.com/"//医院测试地址
const val BASE_PDF ="https://preapp.imc-xa.cn/api/web/viewer.html?file=https://preapp.imc-xa.cn/api/preview/"//测试地址
const val BASE_HTML="${BASE_URL}doctorH5"

const val SERVICE ="$BASE_HTML/#/page-article-details/privacyAgreement?key=doctor.content.serviceAgreement" //服务协议
const val POLICY ="$BASE_HTML/#/page-article-details/privacyAgreement?key=doctor.content.privacyAgreement" //隐私协议地址
const val AUTHOR_MAIN_LINK = "$BASE_HTML/#/page-article-details/privacyAgreement?key=doctor.content.aboutUs"  // 关于我们


const val RX_DETAILS = "$BASE_HTML/#/page-article-details/prescription-details?id=" // 处方详情
const val ARTICLE_DETAILS = "$BASE_HTML/#/page-article-details/article?id=" // 文章详情
const val VIDEO_DETAILS = "$BASE_HTML/#/page-article-details/video?id=" // 视频详情
const val TOOLS_URl = "${BASE_HTML}/tools/indexTabB.html" // 常用工具+

const val NIM_APP_KEY = "7a4c65aab72bb383c643e90d42d397a4"//云信appkey
const val WX_APPID = "wx588e78a05f4b05b2"//微信APPID
const val KEY_SMS_LOGIN = "sms-login"//登录接口标识
//

//LiveDataBus 标识
const val LOGIN_FAILURE = "login_failure" //登录失效标识
const val REFRESH_LAUNCH = "refresh_launch" //刷新发起的f
const val REFRESH_USER = "refresh_user"  // 刷新user
const val REFRESH_EXAMINE = "refresh_examine"  // 刷新检验检查
const val REFRESH_PATIENT = "delete_patient" //刷新患者
const val REFRESH_CARE = "refresh_care" //刷新医护
const val REFRESH_RX_TEMPLATE = "Refresh_rx_template" //刷新模板
const val REFRESH_RX_CANCELLATION = "Refresh_rx_cancellation" //处方作废
const val REFRESH_CASE = "Refresh_case" //刷新病历
const val REFRESH_RX = "refuse_rx" // 处方
const val REFRESH_RX_EXAMINE = "refuse_rx_examine" // 处方
const val REFRESH_MESSAGE = "refresh_message" //刷新通知
const val GET_CONVERSATION = "get_conversation" //会话列表数据通知
const val REFUSE_RECEPTION = "refuse_reception" // 拒诊，转诊
const val CLINICAL_RECEPTION = "clinical_reception" // 接诊，结束
const val REFRESH_USEFUL = "refresh_useful"//常用语刷新数据
const val REFRESH_USEFUL_CATE = "refresh_useful_cate"//常用语分类刷新数据
const val CHOOSE_USEFUL = "choose_useful"//常用语分类刷新数据
const val REFRESH_USEFUL_CATE_COUNT = "refresh_useful_cate_count" //常用语列表刷新带统计
const val SET_INDEX = "set_index" // 接诊设置index
const val CLOSE_EVENT = "channel_close"//平道关闭事件
const val CANCEL_INVITE = "cancel_invite"//取消邀请


//数据存储key
const val USER_INFO_DATA = "user_info_data" // 用户数据缓存
const val USER_REFRESH_TOKEN = "refresh_token"  //用户refresh_token
const val USER_ACCESS_TOKEN = "access_token"  //用户access_token
const val USER_ACC_ID = "user_accId"  //用户accId
const val USER_IM_TOKEN = "user_im_token"  //用户accId
const val USER_TYPE = "userType"  //用户类型
const val PRIVACY_STATUS = "privacy_status"  // 获取用户是否同意隐私协议
const val MEETING_UUID= "meeting_uuid"  // 会议账号
const val MEETING_TOKEN= "meeting_token"  // 会议账号
const val HTTP_COOKIES_INFO = "http_cookies_info" //cookies缓存
const val CA_SIGN = "ca_sign" //ca签名
const val EXAMINATION_INSPECTION = "examination_Inspection" //检验检查缓存

enum class UsefulTypeOpeEnum {
    DELETE,LIST,
}


//自定义消息key
const val INQUIRY_CODE =1002 //问诊单
const val POST_DIAGNOSIS_CODE =1003 //诊后建议
const val PRESCRIPTION_CODE =1004 //处方单
const val ARTICLE_CODE =1005 //文章
const val CERTIFICATE_CODE =1006 //住院证
const val EXAMINE_CODE =1007 //检验检查
const val SUBSCRIBE_CODE =1008 //预问诊
const val GIVE_CODE =1012 //群发消息/赠送消息


//字典信息key维护
//紧急代办typeValue
const val DOCTOR_URGENCY_BACKLOG = "doctor_urgency_backlog_type"
//会诊状态
const val MEDICAL_CONSULTATION_STATUS = "medical_consultation_status"
//医护订单状态
const val ORDER_NURSE_STATUS = "app_order_nurse_status"
//医护订单标签
const val NURSE_PROJECT_TYPE = "nurse_project_type"
//会诊医生参与状态
const val MEDICAL_CONSULTATION_DOCTOR_STATUS = "medical_consultation_doctor_status"
//用法用量
const val PRESCRIPTION_USAGE = "prescription_usage"
//给药途径
const val PRESCRIPTION_CHANNEL = "prescription_channel"
//给药频次
const val PRESCRIPTION_FREQUENCY = "prescription_frequency"
//报告单
const val INSPECTION_REPORT = "inspection_report_type"
//处方订单状态字典
const val ORDER_PRESCRIPTION_STATUS = "order_prescription_status"
//资费阶梯设置
const val TEXT_LADDER = "doctor_consultation_txt_ladder_fee"
//电话
const val PHONE_LADDER = "doctor_consultation_phone_ladder_fee"
//视频
const val VIDEO_LADDER = "doctor_consultation_video_ladder_fee"
//问诊类型
const val ORDER_CONSULTATION_TYPE = "order_consultation_type"
//钱包流水类型
const val WALLET_LOG_TYPE = "doctor_wallet_log_type"
//提现类型
const val WALLET_LOG_SOURCE = "doctor_wallet_log_source"
//检验检查状态
const val ORDER_INSPECTION_SOURCE = "order_inspection_status"
//通知类型
const val NOTIFICATION_TYPE = "doctor_notification_message_type"
//医生职称
const val DOCTOR_POSITION = "doctor_position"

//护理订单售后
const val AFTER_SALE = "order_nurse_after_sale_apply_status"


const val TIME_HOUR =3600000 //1小时
const val TIME_FIFTEEN_DAY =1296000000 //15天
const val TIME_YEAR =31536000000 //1年




